package com.example.blog.exception;

import com.example.blog.result.Result;

public class BlogException extends RuntimeException {
    private Result errorResult = new Result();
    public BlogException(String message) {
        this.errorResult.setCode(-1);
        this.errorResult.setMsg(message);
    }
}
